Failed
Scenario: Birth message handling from a new device.When I login as user with name "kapua-sys" and password "kapua-password" (from org.eclipse.kapua.service.device.integration.RunDeviceI9nTest)
Failing for the past 3 builds
(Since Unstable
)
Error Message
An internal error occurred: org.apache.shiro.ShiroException: Error while find user!.
Stacktrace
org.eclipse.kapua.KapuaException: An internal error occurred: org.apache.shiro.ShiroException: Error while find user!. Caused by: org.apache.shiro.authc.AuthenticationException: org.apache.shiro.ShiroException: Error while find user! Caused by: org.apache.shiro.ShiroException: Error while find user! Caused by: org.eclipse.kapua.KapuaException: An internal error occurred: Error during Persistence Operation. Caused by: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SET MODE MYSQL:[*] b "; SQL statement: SET MODE MySQL://localhost:3306/kapuadb [42000-192] Error Code: 42000 Caused by: org.eclipse.persistence.exceptions.DatabaseException: Internal Exception: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SET MODE MYSQL:[*] b "; SQL statement: SET MODE MySQL://localhost:3306/kapuadb [42000-192] Error Code: 42000 Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SET MODE MYSQL:[*] b "; SQL statement: SET MODE MySQL://localhost:3306/kapuadb [42000-192]
Standard Output
10:51:26.376 [main] INFO o.eclipse.kapua.qa.steps.BasicSteps - Wait multiplier active: 4.0 10:51:26.376 [main] INFO org.eclipse.kapua.qa.steps.DBHelper - Setting up mock database 10:51:26.728 [Camel (camelContext) thread #120 - JmsConsumer[storeCommunicationException]] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-58005-1538664370342-11:2,clientId=null,started=false} 10:51:26.731 [Camel (camelContext) thread #131 - JmsConsumer[storeConfigurationException]] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-58005-1538664370342-9:3,clientId=null,started=false} 10:51:26.735 [Camel (camelContext) thread #90 - JmsConsumer[storeConfigurationException]] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-58005-1538664370342-7:4,clientId=null,started=false} 10:51:26.738 [Camel (camelContext) thread #131 - JmsConsumer[storeConfigurationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #48 - JmsConsumer[storeCommunicationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #122 - JmsConsumer[storeConfigurationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #124 - JmsConsumer[storeGenericException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #110 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #85 - JmsConsumer[storeGenericException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #130 - JmsConsumer[storeCommunicationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #52 - JmsConsumer[storeGenericException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #127 - JmsConsumer[notProcessableMessage]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #38 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #120 - JmsConsumer[storeCommunicationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #79 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #125 - JmsConsumer[notProcessableMessage]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #90 - JmsConsumer[storeConfigurationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.738 [Camel (camelContext) thread #93 - JmsConsumer[notProcessableMessage]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.744 [Camel (camelContext) thread #24 - JmsConsumer[storeGenericException]] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-58005-1538664370342-4:5,clientId=null,started=false} 10:51:26.754 [Camel (camelContext) thread #24 - JmsConsumer[storeGenericException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.754 [Camel (camelContext) thread #12 - JmsConsumer[Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.754 [Camel (camelContext) thread #20 - JmsConsumer[storeCommunicationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.754 [Camel (camelContext) thread #27 - JmsConsumer[notProcessableMessage]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.754 [Camel (camelContext) thread #58 - JmsConsumer[storeConfigurationException]] INFO o.a.c.c.j.DefaultJmsMessageListenerContainer - Successfully refreshed JMS Connection 10:51:26.995 [main] INFO org.reflections.Reflections - Reflections took 3 ms to scan 12 urls, producing 839 keys and 852 values 10:51:27.052 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... 10:51:27.053 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 3 10:51:27.053 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.pre.xml 10:51:27.075 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-event-store-master.pre.xml 10:51:27.091 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-system-configurations-master.pre.xml 10:51:27.108 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing pre master files... DONE! 10:51:27.108 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... 10:51:27.108 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 10 10:51:27.108 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-account-master.xml 10:51:27.203 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authentication-master.xml 10:51:27.244 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-authorization-master.xml 10:51:27.329 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-broker-master.xml 10:51:27.343 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-datastore-master.xml 10:51:27.357 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-management-master.xml 10:51:27.371 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-device-master.xml 10:51:27.447 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-stream-master.xml 10:51:27.459 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-tag-master.xml 10:51:27.480 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Excuting liquibase script: /tmp/genie.kapua/kapua-liquibase/changelog-user-master.xml 10:51:27.510 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing master files... DONE! 10:51:27.510 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... 10:51:27.510 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Master Liquibase files found: 0 10:51:27.510 [main] INFO o.e.k.s.l.KapuaLiquibaseClient - Executing post master files... DONE! @StartDatastore Scenario: Start datastore for all scenarios # features/device/DeviceServiceI9n.feature:24 10:51:27.515 [main] INFO eclipselink.logging.all - EclipseLink, version: Eclipse Persistence Services - 2.6.3.v20160428-59c81c5 10:51:27.515 [main] ERROR eclipselink.logging.ejb - Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.3.v20160428-59c81c5): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement "SET MODE MYSQL:[*] b "; SQL statement: SET MODE MySQL://localhost:3306/kapuadb [42000-192] Error Code: 42000 An unexpected exception was raised!